package com.example.prison.service;

import com.example.prison.entity.HistoricalAlarmData;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【historical_alarm_data】的数据库操作Service
* @createDate 2024-01-17 15:49:31
*/
public interface HistoricalAlarmDataService extends IService<HistoricalAlarmData> {

    PageInfo<HistoricalAlarmData> get(int pageNumber, int pageSize, String defenseSection, String startTime, String endTime);

    int add(HistoricalAlarmData data);

    int delete(Integer[] ids);

    int update(HistoricalAlarmData data, Integer id);

    HistoricalAlarmData getOneAlarmData(String defenseSection, String alarmLevel, String alarmStatus);

}
